home *** CD-ROM | disk | FTP | other *** search
Text File | 1988-04-16 | 1.6 KB | 112 lines | [04] ASCII Text (0x0000) |
- 6
- %
- 2
- 23
- 1
- 39
- 1. What can you use immediate
- execution for in BASIC?
-
- A. Printing words.
-
- B. Printing the results of
- numeric calculations.
-
- C. Assigning values to
- variables.
-
- D. All of the above.
- #
- D
- Immediate execution lets you try
- out BASIC statements one at a time.
- ^
- &
- 2. In what order are statements
- in a BASIC program executed?
-
- A. Alphabetical order.
-
- B. The order in which they were
- entered.
-
- C. Numerical order by line
- number.
-
- D. Random order.
- #
- C
- BASIC executes statements in the
- order of the line numbers, begin-
- ning with the smallest number.
- ^
- &
- 3. Which BASIC statement would you
- use to erase a program from
- memory?
-
- A. SAVE
-
- B. NEW
-
- C. END
-
- D. None of the above
- #
- B
- The NEW statement erases the
- current program from memory.
- ^
- &
- 4. Which BASIC statement would you
- use to ask for someone's name?
-
- A. LET
-
- B. INPUT
-
- C. END
-
- D. NEW
- #
- B
- The INPUT statement in a program
- displays a question mark.
- Whatever the user types as an
- answer is stored in a variable.
- ^
- &
- 5. Assigning a new value to a
- variable...
-
- A. destroys its previous value.
- B. automatically saves its
- previous value to disk.
- C. saves its previous value to
- memory.
- D. adds the new value to the
- previous value.
- #
- A
- Any time a new value is assigned
- to a variable, the old, previous
- value is lost.
- ^
- &
- 6. What type of variable could be
- used to store a person's name?
-
- A. A numeric variable.
-
- B. A string variable.
-
- C. Either type of variable.
-
- D. Neither type of variable.
- #
- B
- String variables are used to store
- strings of characters, like names.
- ^
- 854
-